<template>
  <div class="home">
    <h1>This is an home page</h1>
    <WujieVue url="http://localhost:5174/" name="vue3" :props="{
      name: 'ceshi',
      age: 24
    }"></WujieVue> <!--子应用vue3-->
    <WujieVue url="http://localhost:5175/" name="reat" :props="{
      name: 'ceshi',
      age: 24
    }"></WujieVue> <!--子应用react-->

  </div>
</template>

<script setup>
import TheWelcome from '../components/TheWelcome.vue'
import { bus } from 'wujie'

bus.$on('reat', (data) => {
  console.log(data,'主应用~~~')
})
</script>